cmake_minimum_required(VERSION 3.10)
project(travoddsgen_test)

# add path to cmake_module_path
set(travoddscz_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../travodds_c/install/cmake")
set(travoddsz_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../travodds/install/cmake")

list(APPEND CMAKE_MODULE_PATH "${travoddscz_DIR}")
list(APPEND CMAKE_MODULE_PATH "${travoddsz_DIR}")

find_package(travoddscz REQUIRED)
find_package(travoddscore REQUIRED)

add_subdirectory(generate_c)
add_subdirectory(generate_cpp)
add_subdirectory(generate_java)
add_subdirectory(generate_py)